Solving 10385 - Duathlon (Ternary search)
[andmenj-acm.git] / 543 - Goldbach's conjecture / gen.cpp
blob35ab76b5bd2d784ac49e5df9d9e2f846dc00ade2
1 /*
2 Problem:
3 Andrés Mejía-Posada (andmej@gmail.com)
4 */
5 using namespace std;
6 #include <algorithm>
7 #include <iostream>
8 #include <iterator>
9 #include <sstream>
10 #include <fstream>
11 #include <cassert>
12 #include <climits>
13 #include <cstdlib>
14 #include <cstring>
15 #include <string>
16 #include <cstdio>
17 #include <vector>
18 #include <cmath>
19 #include <queue>
20 #include <deque>
21 #include <stack>
22 #include <list>
23 #include <map>
24 #include <set>
26 #define foreach(x, v) for (typeof (v).begin() x = (v).begin(); x != (v).end(); ++x)
27 #define For(i, a, b) for (int i=(a); i<(b); ++i)
28 #define D(x) cout << #x " is " << x << endl
30 int main(){
31 for (int i=2; i<=1000000; ++i) printf("%d\n", i);
32 puts("0");
33 return 0;